package btime;

import btime.gui.Frame;
import btime.gui.TerminalDisplay;
import btime.logic.Time;
import btime.logic.Delay;
import javax.swing.SwingUtilities;

//Google SNV
public class BTime {
    
    public static void main(String[] args) {
	boolean end = false;
	Time time = new Time();
		
	SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                Frame ex = new Frame();
                ex.setVisible(true);
            }
        });
        
        while (end == false){	
		    time.refreshTime();
                
                    TerminalDisplay  td = new TerminalDisplay();
                    td.display(time);

                    //put some SWING 0,1s
                    
                    
                    Delay.wait(1000);
	}
        
        

    }

}
